Skip to main content

57. Tool Calling

A language model can be connected to external tools.

Conceptually:

User request
↓
LLM
↓
Tool selection
↓
Tool execution
↓
Tool result
↓
LLM
↓
Final response

A tool normally has:

  • name
  • description
  • input schema
  • execution function